#!/usr/bin/python

from django.core.management import setup_environ
import settings
setup_environ(settings)

from deprent.RentDept.models import Property, Offer

p = Property()
p.region = "Canelones"
p.address = "Avenida SiempreViva 731"
p.capacity = "2 habitaciones"
p.save()

o = Offer()
o.property = p
o.date_end = "2012-12-31"
o.date_start = "2012-01-01"
o.price = 1000
o.status = "published"
o.save()

o = Offer()
o.property = p
o.date_start = "2012-03-01"
o.date_end = "2012-03-05"
o.price = 500
o.status = "published"
o.save()

